<%-- 
    Document   : main
    Created on : Dec 1, 2014, 5:25:32 PM
    Author     : martin.krasa
--%>

<%@tag description="Tag for inserting header and footer to web sites." body-content="scriptless" trimDirectiveWhitespaces="true" pageEncoding="UTF-8"%>

<%-- The list of normal or fragment attributes can be specified here: --%>
<%@attribute name="title" type="java.lang.String" required="true"%>

<%@include file="/WEB-INF/jsp/base.jspf" %>

<%-- any content can be specified here e.g.: --%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><c:out value="${fn:trim(title)}" /></title>
    </head>
    <body>
        <h1>${fn:trim(title)}</h1>
        <jsp:doBody />
    </body>
</html>